Namespaces

Types in FluentNHibernate.Mapping

Type JoinedSubClassPart<TSubclass>

Namespace FluentNHibernate.Mapping

Parent ClasslikeMapBase<T>

Interfaces ISubclassMappingProvider

Methods

Properties

Public instance methods

JoinedSubClassPart<TSubclass> Abstract()

(optional) Specifies that this subclass is abstract

JoinedSubClassPart<TSubclass> CheckConstraint(string constraintName)

Specifies a check constraint

JoinedSubClassPart<TSubclass> DynamicInsert()

Sets this entity to be dynamic insert

JoinedSubClassPart<TSubclass> DynamicUpdate()

Sets this entity to be dynamic update

JoinedSubClassPart<TSubclass> EntityName(string entityName)

Specifies an entity-name.
See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx

void JoinedSubClass<TNextSubclass>(string keyColumn, Action<JoinedSubClassPart<TNextSubclass>> action)

void Key(Action<KeyBuilder> keyConfiguration)

Specify how the foreign key is configured.
Parameters
Action<KeyBuilder> keyConfiguration

Configuration Action

Return
void

Builder

void KeyColumn(string keyColumn)

Specify the foreign key column name
Parameters
string keyColumn

Key column name

JoinedSubClassPart<TSubclass> LazyLoad()

Sets this entity to be lazy-loaded (overrides the default lazy load configuration).

JoinedSubClassPart<TSubclass> Proxy(Type type)

Specifies a proxy class for this entity.
Parameters
Type type

Proxy type

JoinedSubClassPart<TSubclass> Proxy<T>()

Specifies a proxy class for this entity.

JoinedSubClassPart<TSubclass> Schema(string schema)

Specify the schema
Parameters
string schema

Schema name

JoinedSubClassPart<TSubclass> SelectBeforeUpdate()

Specifies that a select should be performed before updating this entity

JoinedSubClassPart<TSubclass> Table(string tableName)

Specify the table name
Parameters
string tableName

Table name

Public properties

Type EntityType get;

ColumnMappingCollection<TParent> KeyColumns get;

Modify the key columns collection

JoinedSubClassPart<TSubclass> Not get;

Inverts the next boolean